package com.ruoyi.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 问答信息对象 dz_wenda
 * 
 * @author ruoyi
 * @date 2023-09-07
 */
public class DzWenda extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 问答id */
    private Long wdId;

    /** 发问人 */
    @Excel(name = "发问人")
    private Long userId;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 排序 */
    @Excel(name = "排序")
    private Long orderno;

    /** 小区id */
    @Excel(name = "小区id")
    private Long xqId;

    /** 问答类型 */
    @Excel(name = "问答类型")
    private Integer wdlx;

    /** 是否热门 */
    @Excel(name = "是否热门")
    private Integer ishot;

    /** 是否常见 */
    @Excel(name = "是否常见")
    private Integer iscj;

    /** 是否精选 */
    @Excel(name = "是否精选")
    private Integer isjx;

    private Integer issh;

    public Integer getIssh() {
        return issh;
    }

    public void setIssh(Integer issh) {
        this.issh = issh;
    }

    /** 回答信息 */
    private List<DzWendaback> dzWendabackList;

    public void setWdId(Long wdId) 
    {
        this.wdId = wdId;
    }

    public Long getWdId() 
    {
        return wdId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setOrderno(Long orderno) 
    {
        this.orderno = orderno;
    }

    public Long getOrderno() 
    {
        return orderno;
    }
    public void setXqId(Long xqId) 
    {
        this.xqId = xqId;
    }

    public Long getXqId() 
    {
        return xqId;
    }
    public void setWdlx(Integer wdlx) 
    {
        this.wdlx = wdlx;
    }

    public Integer getWdlx() 
    {
        return wdlx;
    }
    public void setIshot(Integer ishot) 
    {
        this.ishot = ishot;
    }

    public Integer getIshot() 
    {
        return ishot;
    }
    public void setIscj(Integer iscj) 
    {
        this.iscj = iscj;
    }

    public Integer getIscj() 
    {
        return iscj;
    }
    public void setIsjx(Integer isjx) 
    {
        this.isjx = isjx;
    }

    public Integer getIsjx() 
    {
        return isjx;
    }

    public List<DzWendaback> getDzWendabackList()
    {
        return dzWendabackList;
    }

    public void setDzWendabackList(List<DzWendaback> dzWendabackList)
    {
        this.dzWendabackList = dzWendabackList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("wdId", getWdId())
            .append("userId", getUserId())
            .append("content", getContent())
            .append("orderno", getOrderno())
            .append("xqId", getXqId())
            .append("createTime", getCreateTime())
            .append("wdlx", getWdlx())
            .append("ishot", getIshot())
            .append("iscj", getIscj())
            .append("isjx", getIsjx())
            .append("dzWendabackList", getDzWendabackList())
            .toString();
    }
}
